//
//  AppDelegate.h
//  planning
//
//  Created by mac on 2019/7/22.
//  Copyright © 2019 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <GTSDK/GeTuiSdk.h>
// iOS10 及以上需导入 UserNotifications.framework
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
#import <UserNotifications/UserNotifications.h>
#endif

typedef void (^remoteBlock)(UIEvent *event);

@interface AppDelegate : UIResponder <UIApplicationDelegate,GeTuiSdkDelegate,UNUserNotificationCenterDelegate>
// 用来判断是否是通过点击通知栏开启（唤醒）APP
@property (nonatomic, assign) BOOL isLaunchedByNotification;

@property (strong, nonatomic) UIWindow *window;

@property (nonatomic, assign) CGFloat stepNum;//步数
@property (nonatomic, assign) CGFloat distanceNum;//距离

@property (nonatomic, copy) remoteBlock removteBlock;


@end

